package net.engio.mbassy.camel.tests.types;

/**
 * Test class which wraps a {@link String} message.
 */
public class MessageWrapper {

    /**
     * Message string.
     */
    private final String message;

    /**
     * Creates a new instance of the MessageWrapper class.
     * @param message the message
     */
    public MessageWrapper(final String message) {
        this.message = message;
    }

    /**
     * Returns the message.
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    @Override
    public String toString() {
        return "MessageWrapper [message=" + message + "]";
    }
}
